package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tbc_position_industry")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PositionModel {
    @TableId(type = IdType.AUTO)
    private  int id;
    private  String jobTitle;
    private Timestamp crtTime;
    private  Integer level;//1父级2子级

    private  String fatherCode;//父级id
    private String postCode;//编号
    private Integer postType;//1职位2行业
    @TableField(exist = false)
    private List<PositionModel> subLevelModelList;
    @TableField(exist = false)
    private String classOne;//一级分类

    @TableField(exist = false)
    private String classTwo;//二级分类

}
